.class Les/g10$b;
.super Lorg/teleal/cling/support/avtransport/callback/SetAVTransportURI;
.source "DlnaControllerManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/g10;->a(Les/l10;Ljava/lang/String;Les/h10;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/l10;

.field final synthetic b:Les/h10;

.field final synthetic c:Les/g10;


# direct methods
.method constructor <init>(Les/g10;Lorg/teleal/cling/model/meta/Service;Ljava/lang/String;Ljava/lang/String;Les/l10;Les/h10;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/g10$b;->c:Les/g10;

    iput-object p5, p0, Les/g10$b;->a:Les/l10;

    iput-object p6, p0, Les/g10$b;->b:Les/h10;

    invoke-direct {p0, p2, p3, p4}, Lorg/teleal/cling/support/avtransport/callback/SetAVTransportURI;-><init>(Lorg/teleal/cling/model/meta/Service;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public failure(Lorg/teleal/cling/model/action/ActionInvocation;Lorg/teleal/cling/model/message/UpnpResponse;Ljava/lang/String;)V
    .locals 0

    if-nez p2, :cond_0

    .line 1
    invoke-static {}, Lcom/estrongs/dlna/core/b;->g()Lcom/estrongs/dlna/core/b;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/dlna/core/b;->e()V

    .line 2
    :cond_0
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    const-string p2, "SetAVTransportURI failure, s = "

    invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Les/m10;->c(Ljava/lang/String;)V

    .line 3
    iget-object p1, p0, Les/g10$b;->a:Les/l10;

    sget-object p2, Lorg/teleal/cling/support/model/TransportState;->STOPPED:Lorg/teleal/cling/support/model/TransportState;

    invoke-virtual {p1, p2}, Les/l10;->a(Lorg/teleal/cling/support/model/TransportState;)V

    .line 4
    iget-object p1, p0, Les/g10$b;->c:Les/g10;

    invoke-static {p1}, Les/g10;->b(Les/g10;)Landroid/os/Handler;

    move-result-object p1

    iget-object p2, p0, Les/g10$b;->a:Les/l10;

    invoke-virtual {p2}, Les/l10;->d()Ljava/lang/Runnable;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 5
    iget-object p1, p0, Les/g10$b;->c:Les/g10;

    iget-object p2, p0, Les/g10$b;->b:Les/h10;

    invoke-static {p1, p2}, Les/g10;->a(Les/g10;Les/h10;)V

    return-void
.end method

.method public success(Lorg/teleal/cling/model/action/ActionInvocation;)V
    .locals 3

    .line 1
    invoke-super {p0, p1}, Lorg/teleal/cling/support/avtransport/callback/SetAVTransportURI;->success(Lorg/teleal/cling/model/action/ActionInvocation;)V

    const-string p1, "SetAVTransportURI success"

    .line 2
    invoke-static {p1}, Les/m10;->c(Ljava/lang/String;)V

    .line 3
    iget-object p1, p0, Les/g10$b;->c:Les/g10;

    iget-object v0, p0, Les/g10$b;->a:Les/l10;

    sget-object v1, Lorg/teleal/cling/support/model/TransportState;->PLAYING:Lorg/teleal/cling/support/model/TransportState;

    invoke-static {p1, v0, v1}, Les/g10;->a(Les/g10;Les/l10;Lorg/teleal/cling/support/model/TransportState;)V

    .line 4
    iget-object p1, p0, Les/g10$b;->c:Les/g10;

    invoke-static {p1}, Les/g10;->b(Les/g10;)Landroid/os/Handler;

    move-result-object p1

    iget-object v0, p0, Les/g10$b;->a:Les/l10;

    invoke-virtual {v0}, Les/l10;->d()Ljava/lang/Runnable;

    move-result-object v0

    const-wide/16 v1, 0x1388

    invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 5
    iget-object p1, p0, Les/g10$b;->a:Les/l10;

    invoke-virtual {p1}, Les/l10;->h()Z

    move-result p1

    if-nez p1, :cond_0

    .line 6
    iget-object p1, p0, Les/g10$b;->c:Les/g10;

    iget-object v0, p0, Les/g10$b;->a:Les/l10;

    iget-object v1, p0, Les/g10$b;->b:Les/h10;

    invoke-virtual {p1, v0, v1}, Les/g10;->a(Les/l10;Les/h10;)Z

    goto :goto_0

    .line 7
    :cond_0
    iget-object p1, p0, Les/g10$b;->c:Les/g10;

    iget-object v0, p0, Les/g10$b;->b:Les/h10;

    invoke-static {p1, v0}, Les/g10;->b(Les/g10;Les/h10;)V

    :goto_0
    return-void
.end method
